package pers.gs.service;

import pers.gs.Entity.Student;

import java.util.List;

public interface IStudentService {
    //根据学号，查询学生信息
    public Student queryStudentBySno(String sno);

    //查询所有学生信息
    public List<Student> queryAllStudent();

    //修改学生信息
    public  boolean updateStudentBySno(String sno, Student student);

    //删除学生信息
    public boolean deleteStudentBySno(String sno);

    //新增学生信息
    public boolean addStudent(Student student);
}
